<?php
/**
 * Created by PhpStorm.
 * User: Dinh Thi
 * Date: 1/19/15
 * Time: 11:25 AM
 */

namespace DinhThi\MVC;

class Bootstrap {
    public function __construct(){

    }
    public function init(){
        $request = Request::getInstance();
        $request->init();
        $config = Configuration::getInstance();
        $module = '\\MyApp\\' . $config->getProperty('MODULE') . '\\Module';
        $module = new $module();
        $module->onBootstrap();
    }
} 